package com.ruoyi.commerce.mapper;

import java.util.List;
import com.ruoyi.commerce.domain.CommerceInfoUser;

/**
 * 帮养之家和负责人联Mapper接口
 * 
 * @author zhezhi
 * @date 2022-10-02
 */
public interface CommerceInfoUserMapper 
{
    /**
     * 查询帮养之家和负责人联
     * 
     * @param infoId 帮养之家和负责人联主键
     * @return 帮养之家和负责人联
     */
    public CommerceInfoUser selectCommerceInfoUserByInfoId(Long infoId);

    /**
     * 查询帮养之家和负责人联列表
     * 
     * @param commerceInfoUser 帮养之家和负责人联
     * @return 帮养之家和负责人联集合
     */
    public List<CommerceInfoUser> selectCommerceInfoUserList(CommerceInfoUser commerceInfoUser);

    /**
     * 新增帮养之家和负责人联
     * 
     * @param commerceInfoUser 帮养之家和负责人联
     * @return 结果
     */
    public int insertCommerceInfoUser(CommerceInfoUser commerceInfoUser);

    /**
     * 修改帮养之家和负责人联
     * 
     * @param commerceInfoUser 帮养之家和负责人联
     * @return 结果
     */
    public int updateCommerceInfoUser(CommerceInfoUser commerceInfoUser);

    /**
     * 删除帮养之家和负责人联
     * 
     * @param infoId 帮养之家和负责人联主键
     * @return 结果
     */
    public int deleteCommerceInfoUserByInfoId(Long infoId);

    /**
     * 批量删除帮养之家和负责人联
     * 
     * @param infoIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCommerceInfoUserByInfoIds(Long[] infoIds);
}
